//
//  RMMEditorTableViewCell.m
//  Romomo
//
//  Created by puman on 2016/10/19.
//  Copyright © 2016年 mazegong. All rights reserved.
//

#import "RMMEditorTableViewCell.h"

@implementation RMMEditorTableViewCell
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    if (self =[super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        _imageV = [[UIImageView alloc] initWithFrame:CGRectMake(15, 12, 30, 30)];
        [self.contentView addSubview:_imageV];
        
        _tLabel = [[UILabel alloc] initWithFrame:CGRectMake(_imageV.right + kRow, 0, 80, 54)];
        _tLabel.font = kFont(16);
        _tLabel.textColor = COLORFROMCODE(0x303137, 1);
        [self.contentView addSubview:_tLabel];
        
        _rightLabel = [[UILabel alloc] initWithFrame:CGRectMake(_tLabel.right, 0, kScreenWideth - _tLabel.right - 30, 54)];
        _rightLabel.font = kFont(13);
        _rightLabel.textAlignment = NSTextAlignmentRight;
        _rightLabel.textColor = COLORFROMCODE(0x9B9B9B, 1);
        [self.contentView addSubview:_rightLabel];

    }
    return self;
}
- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
